<%--
  - Author		:	이 영호(Youngho Lee)
  --%>
<%@ page language="java" %>
<%@ page contentType="text/html; charset=utf-8" %>
<%@ page pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/pages/includes/taglibs.jspf" %>
<%@ include file="/WEB-INF/pages/includes/variables.jspf" %>
<%@ include file="/WEB-INF/pages/includes/doctype.jspf" %>
<html>
	<head>
<%@ include file="/WEB-INF/pages/includes/metatags.jspf" %>
		<title><fmt:message key="pages.title" /></title>

		<script type="text/javascript" src="<c:url value="${dirScripts}/jquery-1.7.2.min.js" />"></script>
		<script type="text/javascript">
			$(function() {
				<c:choose>
					<c:when test="${param.authority eq 'ROLE_USER'}">
						alert("정상적으로 가입신청 되셨습니다. 관리자가 회원님의\n회원 등록을 준비하고 있으며, 승인 후 사용 가능합니다.");
					</c:when>
					<c:when test="${param.authority eq 'ROLE_TESTER'}">
						alert("환영합니다. 체험단 회원으로 가입되셨습니다.");
					</c:when>
					<c:otherwise></c:otherwise>
				</c:choose>
				window.location.href="<c:url value="/" />";
			});
		</script>
	</head>
	<body>
	</body>
</html> 